package com.dnd.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.dnd.model.User;

public interface UserDao {
	User getUserByID(Long id) throws  DataAccessException;
	void save(User user) throws DataAccessException;
	List<User> list() throws DataAccessException;
}
